import request from '@/utils/request'
import fileRequest from '@/utils/fileRequest';
/**
 * 获取全部列表
 * @param params
 * @returns {*}
 */
export function getList(params) {
  return request({
    url: '/getNewsTypeConfigList',
    method: 'GET',
    params
  })
}
/**
 * 获取全部父级新闻分类
 * @param params
 * @returns {*}
 */
export function getFatherList(params) {
  return request({
    url: '/getNewsTypeFatherList',
    method: 'GET',
    params
  })
}
/**
 * 编辑
 * @param params
 * @returns {*}
 */
export function editNewsTypeConfigApi(params) {
  return request({
    url: '/editNewsTypeConfig',
    method: 'POST',
    params
  })
}
/**
 * 删除
 * @param params
 * @returns {*}
 */
export function delNewsTypeConfigApi(params) {
  return request({
    url: '/delNewsTypeConfig',
    method: 'POST',
    params
  })
}














